<!--{Atemplate tpl/weiboheader}-->
<!--{eval echo $this->Ahtml_js_aurl();}-->
<script src=" http://tjs.sjs.sinajs.cn/open/api/js/wb.js?appkey=3168919025" type="text/javascript" charset="utf-8"></script>
<script>

WB2.anyWhere(function(W){
    W.widget.connectButton({
        id: "wb_connect_btn",
        type: '3,2',
        callback : {
            login:function(o){
                alert(o.screen_name)
            },
            logout:function(){
                alert('logout');
            }
        }
    });
});
jQuery(document).ready(function(){
});
</script>
<div id="wb_connect_btn"></div>
<!--{Atemplate tpl/nofooter}-->